import BaseMock from '../baseMock'

export default class Active extends BaseMock {
  constructor() {
    const name = 'ActiveMock'
    const total = 25
    const listApi = '/api/active/getList'
    const deleteApi = /\/*\/active\/delete/ // 带参数的必须要用正则
    const detailApi = /\/*\/active\/getItem/ // 带参数的必须要用正则
    const updateApi = '/api/active/updateItem'

    super({ name, total, listApi, deleteApi, detailApi, updateApi })
  }
}
